//
//  UIScreen+screenSize.m
//  runtimeDemo
//
//  Created by admin on 2018/2/8.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "UIScreen+screenSize.h"

@implementation UIScreen (screenSize)

+ (CGFloat)screenWidth {
    return [UIScreen mainScreen].bounds.size.width;
}

+ (CGFloat)screenHeight {
    return [UIScreen mainScreen].bounds.size.height;
}

+ (CGFloat)statusBarHeight {
    return [UIApplication sharedApplication].statusBarFrame.size.height;
}


@end
